<div id="sidebar">
<div id="ggsearch">
	<input id="search" size="26" type="text" name="query" />&nbsp;&nbsp;<label for="search">搜索</label>
</div>
<div id="category">
<h3>Categories<span>//&nbsp;主题分类</span></h3>
 <ul>
 	{% for cate in categories %}
  <li>	<a href="{{site.url}}category/{{cate.slogan}}.html">{{cate.name}} ( {{cate.postCount}} )</a></li>
 	{%endfor%}
 	</ul>
</div> 
<div class="new-page">
<h3>Recent Comments<span>//&nbsp;最新评论</span></h3>
 <ul>
        {% for comment in comments %}
        <li><a href="{{comment.post.link}}#comment-{{comment.id}}">{{comment.userName}} : {{comment.preview}}...</a> </li>
        {%endfor%}
 	</ul>
</div>
<div class="new-post">
 <h3>Recent Posts<span>//&nbsp;最新文章</span></h3>
        <ul>
        {% for post in recentPosts %}
        <li><a href="{{post.link}}">{{post.title}}</a></li>
        {%endfor%}
        </ul>
</div>
<div id="link">
<h3>Link roll<span>//&nbsp;友情链接</span></h3>
<ul>
{%for link in blogroll%}
<li><a href="{{link.url}}">{{link.title}}</a></li>
{%endfor%}
</ul>
</div>
<div id="archive">
<h3>Archives<span>//&nbsp;归档</span></h3>
<ul>
	{%for arch in archives%}
	<li><a href="{{arch.link}}">{{arch.date|date:"yyyy年MM月"}} ( {{arch.count}} )</a></li>
	{%endfor%}
</ul>
</div>
</div>
